package com.IntelligentCommunity.community.domain;

import com.IntelligentCommunity.common.core.annotation.Excel;
import com.IntelligentCommunity.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 实有车辆信息对象 real_vehicles
 *
 * @author IntelligentCommunity
 * @date 2024-07-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class RealVehicles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 车牌号（唯一） */
    @Excel(name = "车牌号")
    private String licensePlate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    /*@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    private Date createDate;

    /** 车辆状态 */
    private Long status;

    private Long districtId;

    /** 车主外键 id */
    private String populationId;

    /** 车主外键 id */
    private String name;
    /**
     * 车主电话
     */
    private String iphone;
    /**
     * 车辆图片
     */
    @Excel(name = "车辆图片")
    private String image;

    /**
     * 车主身份证
     */
    @Excel(name = "身份证")
    private String idCardNumber;

    /**
     * 车主性别
     */
    private String sex;

    /**
     * 住址
     */
    private String residenceAddress;

    /**
     * 小区名称
     */
    private String communityName;

    /**
     * 民族
     */
    private String nation;
}
